﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sinacor.UI.Bovespa.Ordens.Communication.Bovespa.Ordens.Negocio;


namespace Sinacor.UI.Bovespa.Ordens.Communication.Translator
{
    class TranslatorConsultarNegocioOrdemDigitacaoRequest
    {
        public Sinacor.UI.Bovespa.Ordens.Communication.Bovespa.Ordens.Negocio.ConsultarNegocioOrdemDigitacaoRequest Translate(Model.Parameter.ConsultarNegocioOrdemDigitacao from)
        {
            Sinacor.UI.Bovespa.Ordens.Communication.Bovespa.Ordens.Negocio.ConsultarNegocioOrdemDigitacaoRequest to = new Sinacor.UI.Bovespa.Ordens.Communication.Bovespa.Ordens.Negocio.ConsultarNegocioOrdemDigitacaoRequest();
            
            to.DataOrdem = from.DataOrdem;
            to.DataPregao = from.DataPregao;
            to.NumeroOrdem = from.NumeroOrdem;
            to.NumeroOrdemSubSequencia = from.NumeroOrdemSubSequencia;
            return to;
        }
    }
}
